
    <ul id='bm_menu'>  
        <li><a href="?v=<?php echo includeTrailingBackslash($workingDir) . '../' ?>" title="Go to parent directory">Go up</a></li>   
        <li><a href="?" title="Go to home directory (<?php echo realpath(HOMEDIR) ?>)">Home</a></li>
        
        <li><a href="javascript:pageRefresh(false)" title="Refreshes the current page">Refresh</a></li>   
        <li><a href="javascript:openUploadForm()" title="Upload a file in this directory">Upload</a></li>
        <li><a href="#">New &raquo;</a>
            <ul>
                <li>
                    <a href="javascript:mkfile('<?php echo $workingDir ?>')" title="Create a new file on this folder"><img src='img/page.png' alt="File">File</a>
                </li>
                <li> 
                    <a href="javascript:promptmkdir('<?php echo $workingDir ?>')" title="Create a new folder on this folder"><img src='img/folder16.png' alt="Directory">Directory</a>
                </li>
            </ul>
        </li>
        <li><a href="#">Edit &raquo;</a>
            <ul>
                <li>
                    <a href="javascript:cut();" title="Cut checked files"><img src='img/cut.png' alt="Cut">Cut</a>
                </li>
                <li>
                    <a href="javascript:copy();" title="Copy checked files"><img src='img/copy.png' alt="Copy">Copy</a>
                </li> 
                <li><a href="javascript:paste('<?php echo base64_encode($workingDir) ?>');" title="Paste cut/copied files on this folder"><img src='img/paste.png' alt="Paste">Paste</a>
                </li> 
            </ul>  
        </li> 
        <li>
            <a href="#">Delete &raquo;</a>
            <ul>
                <li>
                    <a href="javascript:deleteCheckedFiles()" title="Deletes the checked files"><img src='img/page_delete.png'>Selected Files</a>
                </li>     
                <li><a href="javascript:rmdir('<?php echo base64_encode($workingDir) ?>')" title="Removes this directory"><img src='img/folder_delete.png'>This directory</a>
                </li>
            </ul>
        </li>
        <li><a href="#">Download &raquo;</a>
            <ul>
                <li>
                    <a href="javascript:downloadChecked()" title="Downloads checked files"><img src='img/page_go.png'>Selected files</a>
                </li> 
                <li>
                    <a href="javascript:dlDir('<?php echo base64_encode($workingDir) ?>')" title="Downloads this directory as a zip archive"><img src='img/folder_go.png'>This directory</a>
                </li>  
            </ul>
        </li>
        <li><a href="about.php" title="About BitManager">About</a></li>  
        <li><a href="javascript:logout()">Log out</a></li>   
        <li>
            <input name="mask" type="text" id='searchbox' value="<?php echo $originalMask ?>">
        </li>
    </ul>
    <br><br>
    <?php include 'upload.php' ?>
<!-- end of .top-menu -->
</div>
<div class="top-line"></div>